package cn.gson.boot.model.service;

import cn.gson.boot.model.mapper.StageMapper;
import cn.gson.boot.model.pojos.Stage;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class StageService {
    @Autowired
    StageMapper stageMapper;

    //阶段列表
    public List<Stage> selectStage() {
        return stageMapper.selectStage();
    }
}
